using System;
using CSharpPro._1013._1020;

class Program
{
    static void Main(string[] args)
    {
        Console.WriteLine("=== 冒泡排序测试 ===");
        int[] numbers = { 88, 83, 25, 76, 68, 50, 95 };
        Console.WriteLine("排序前: " + string.Join(", ", numbers));
        work.BubbleSort(numbers);
        Console.WriteLine("排序后: " + string.Join(", ", numbers));
        Console.WriteLine("\n=== 学生类测试 ===");
        Student student1 = new Student("张三", 20, "2023001", 85.0);
        Student student2 = new Student("李四", 19, "2023002", 58.0);
        Student student3 = new Student("王五", 20, "2023003", 93.0);
        student1.DisplayInfo();
        student2.DisplayInfo();
        student3.DisplayInfo();
        Console.WriteLine($"{student1.Name} 是否及格: {student1.IsPass()}");
        Console.WriteLine($"{student2.Name} 是否及格: {student2.IsPass()}");
        Console.WriteLine($"{student3.Name} 是否及格: {student3.IsPass()}");
    }
}